package ${package.Entity}.param;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

<#list table.importPackages as pkg>
import ${pkg};
</#list>
/**
* <p>
* 新增${table.comment!}参数
* </p>
*
* @author ${author}
* @since ${date}
*/

@Data
<#if swagger2>
@ApiModel(value="新增${table.comment}", description="新增${table.comment!}")
</#if>
public class ${entity}AddParam implements Serializable {

    private static final long serialVersionUID = 1L;

<#-- ----------  BEGIN 字段循环遍历  ---------->
<#list table.fields as field>
	<#if  field.propertyName=='updatetime'||field.propertyName=='updatedby'||field.keyFlag||field.propertyName=='updatedtime'||field.propertyName=='createdby'||field.propertyName=='createdtime'||field.propertyName=='updateby'||field.propertyName=='modifiedby'||field.propertyName=='modifiedtime' || field.propertyName=='version'>
    <#else>
    <#if field.comment!?length gt 0>
        <#if swagger2>
    @ApiModelProperty(value = "${field.comment}")
        <#else>
    /**
     * ${field.comment}
     */
        </#if>
    </#if>
    private ${field.propertyType} ${field.propertyName};
            </#if>
    
</#list>

}
